<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章大纲生成</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-image: url('https://s2.loli.net/2024/05/13/oDmLOVNUujC8ZMS.jpg');
            background-size: cover;
            background-position: center;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            position: relative;
        }
        form {
            background-color: rgba(255, 255, 255, 0);
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 900px;
        }
        h1 {
            margin-bottom: 20px;
            color: #333;
        }
        textarea {
            width: calc(100% - 10px);
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            resize: none;
            font-size: 15px;
            margin-bottom: 20px;
            height: 450px;
            background-color: rgba(255, 255, 255, 0.8);
            font-family: "黑体", Times, serif;
        }
        input[type="submit"] {
            display: block;
            width: 40%;
            padding: 10px;
            background-color: #007bff;
            color: #fff;
            font-size: 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin: 0 auto;
        }
        input[type="submit"]:hover {
            background-color: #0056b3;
        }
        h1 {
            margin-bottom: 40px;
            color: #D3D3D3;
            font-size: 70px;
            font-family: "Times New Roman", Times, serif;
        }
        h2 {
            color: #D3D3D3;
            font-size: 20px;
            font-weight: bold;
            font-family: "Times New Roman", Times, serif;
        }
        .back-button {
            position: absolute;
            bottom: 20px;
            left: 15px;
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }
        .back-button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="container">
       <form action="/generate_outline" method="post">
           <h1>文章大纲生成助手</h1>
           <h2>输入文章内容:</h2>
           <textarea name="article_content" rows="10" cols="50"></textarea><br>
           <input type="submit" value="生成大纲">
       </form>
       <a href="/" class="back-button">返回</a>
    </div>
</body>
</html>
